package com.aaa.entity;

import java.util.List;

/**
 * 菜单管理service实现类
 */
public class Menu {
    //菜单id
    private Integer mid;
    //菜单名称
    private String mname;
    //菜单路径
    private String path;
    //菜单级别
    private  Integer lev;
    /**
     * 存储当前菜单的子菜单
     */
    private List<Menu> children;

    public List<Menu> getChildren() {
        return children;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getLev() {
        return lev;
    }

    public void setLev(Integer lev) {
        this.lev = lev;
    }
}
